const render = {
  renderDict: (value:any,list:{label:any,value:any}[])=>{
    let result = '';
    if(value instanceof Array){
      for(let i=0;i<value.length;i++){
        if(i>0){
          result += '，'
        }
        result += list.find(item=>item.value==value[i])?.label
      }
    }else{
      result += list.find(item=>item.value==value)?.label
    }
    return result;
  }
}

export default render;